import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
import {
	post,
	get,
	put
} from 'utils/request.js'

import {
	post1,
	get1,
	put1
} from 'utils/request1.js'

Vue.prototype.$post = post
Vue.prototype.$get = get
Vue.prototype.$put = put

Vue.prototype.$post1 = post1
Vue.prototype.$get1 = get1
Vue.prototype.$put1 = put1

Vue.config.productionTip = false
App.mpType = 'app'


Vue.use(uView)
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif